package com.lottery.material.entity.portaluser;

import com.lottery.material.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Description：充值金额配置表
 * Created by 朱正磊 on 2019-04-09 10:27
 */
@Entity
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "material_buy_gold_config")
public class BuyGoldConfig extends BaseEntity {

    private static final long serialVersionUID = -4908427048959878593L;

    @Column(columnDefinition = "decimal(19,2) comment '充值金额'")
    private BigDecimal buyGold;

    @Column(columnDefinition = "int(2) comment '排序'")
    private Integer sort;

    @Column(columnDefinition = "int(1) default '1' comment '是否删除（1：否；2：是）'")
    private Integer isDelete;

}
